<?php
// Texto de la columna izquierda
$query = "SELECT c.html
		  FROM content c
		  JOIN sections s ON c.sectionId = s.id AND s.alias = '$section'";
if ($res = $db->runQuery($query)) {
	$row = $db->getRow($res);
	$content->assign("contentblock1", utf8_encode($row["html"]));
}
// Imágenes de la columna derecha
$content->assign("toursurl", BASE_URL.$lang."/tours/");
$content->assign("tourstitle", $content->langmsg["tours"]);
$content->assign("esenciasurl", BASE_URL.$lang."/esencias/");
$content->assign("esenciastitle", $content->langmsg["esencias"]);
$content->assign("galleryurl", BASE_URL.$lang."/gallery/");
$content->assign("gallerytitle", $content->langmsg["gallery"]);
$content->assign("blogurl", BASE_URL.$lang."/blog/");
$content->assign("blogtitle", $content->langmsg["blog"]);
$content->assign("newsurl", BASE_URL.$lang."/news/");
$content->assign("newstitle", $content->langmsg["news"]);
$content->assign("faqurl", BASE_URL.$lang."/faq/");
$content->assign("faqtitle", $content->langmsg["faq"]);
?>
